package com.pp.small.common.constants;

/**
 * 权限相关通用常量
 *
 * @author ruoyi
 */
public class SecurityConstants {

    /**
     * 用户标识
     */
    public static final String USER_KEY = "user_key";

    /**
     * 用户ID字段
     */
    public static final String USER_ID = "user_id";

    /**
     * 用户名字段
     */
    public static final String USER_NAME = "user_name";

    /**
     * 授权信息字段
     */
    public static final String AUTHORIZATION = "Authorization";

    /**
     * 请求来源
     */
    public static final String FROM_SOURCE = "from-source";
}
